﻿@model WikeSoft.Enterprise.Models.HolidayModel
@{
    ViewBag.Title = "布局页面";
    Layout = "~/Views/Shared/_Form.cshtml";
    String backUrl = string.Empty;
    if (Request.UrlReferrer != null)
    {
        backUrl = Request.UrlReferrer.ToString();
    }
}


@section scripts
{
     
}


<form class="form-horizontal" action="@Url.Action("Add")" method="post" id="userForm">

    <input type="hidden" id="createFlow" name="createFlow" />

    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                @Html.LabelFor(x => x.StartDate, new { @class = "col-sm-2 control-label" })
                <div class="col-sm-10">
                    @Html.TextBoxFor(x => x.StartDate, "{0:yyyy-MM-dd}", new { @class = "form-control", placeholder = "", @readonly="readonly" })
                    @Html.ValidationMessageFor(x => x.StartDate)

                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group">
                @Html.LabelFor(x => x.EndDate, new { @class = "col-sm-2 control-label" })
                <div class="col-sm-10">
                    @Html.TextBoxFor(x => x.EndDate, "{0:yyyy-MM-dd}", new { @class = "form-control", placeholder = "", @readonly = "readonly" })
                    @Html.ValidationMessageFor(x => x.EndDate)

                </div>
            </div>
        </div>
    </div>


    <div class="row">
        <div class="col-xs-6">
            <div class="form-group">
                @Html.LabelFor(x => x.Remark, new { @class = "col-sm-2 control-label" })
                <div class="col-sm-10">
                    @Html.TextAreaFor(x => x.Remark, new { @class = "form-control", rows = "3", placeholder = "", @readonly = "readonly" })
                    @Html.ValidationMessageFor(x => x.Remark)

                </div>
            </div>
        </div>
        <div class="col-xs-6">
            <div class="form-group">
                @Html.LabelFor(x => x.Days, new { @class = "col-sm-2 control-label" })
                <div class="col-sm-10">
                    @Html.TextBoxFor(x => x.Days, new { @class = "form-control", placeholder = "", @readonly = "readonly" })
                    @Html.ValidationMessageFor(x => x.Days)

                </div>
            </div>
        </div>
    </div>


    <div class="row">
        <div class="col-xs-6">
            <div class="form-group">
                @Html.LabelFor(x => x.Person, new { @class = "col-sm-2 control-label" })
                <div class="col-sm-10">
                    @Html.TextBoxFor(x => x.Person, new { @class = "form-control", rows = "3", placeholder = "", @readonly = "readonly" })
                    @Html.ValidationMessageFor(x => x.Remark)

                </div>
            </div>
        </div>
        
    </div>

</form>
